package com.github.cyf.service.impl;

import com.github.cyf.domain.po.Comment;
import com.github.cyf.mapper.CommentMapper;
import com.github.cyf.service.CommentService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author chenyifan
 * @since 2024-11-06
 */
@Service
public class CommentServiceImpl extends ServiceImpl<CommentMapper, Comment> implements CommentService {

    @Override
    public List<Comment> queryByType(String type) {
        return baseMapper.queryByType(type);
    }
}
